package com.ruoyi.littleRedBook.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 预约表
 * </p>
 *
 * @author
 * @since 2025-09-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Reservation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 预约id
     */
    @TableId(value = "reservation_id", type = IdType.AUTO)
    private Long reservationId;

    /**
     * 客户姓名
     */
    @TableField("customer_name")
    private String customerName;

    /**
     * 客户手机号
     */
    @TableField("customer_phone")
    private String customerPhone;

    /**
     * 预约项目id
     */
    @TableField("reservation_project_id")
    private Long reservationProjectId;

    /**
     * 预约门店id
     */
    @TableField("reservation_store_id")
    private Long reservationStoreId;

    /**
     * 预约方式type
     */
    @TableField("reservation_type")
    private Integer reservationType;

    /**
     * 预约时间
     */
    @TableField("reservation_time")
    private LocalDateTime reservationTime;

    /**
     * 状态
     */
    @TableField("status")
    private Integer status;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;


}
